@echo off

cls

if "%1" neq "" goto copyfiles
goto noconfig

:copyfiles
echo NDBGen\bin\%1\
copy NDBGen\bin\%1\NDBGen.dll D:\Source\Arpu\SnappCloud.NET-_trunk\Assemblies /Y
copy NDBGen\bin\%1\NDBGen.pdb D:\Source\Arpu\SnappCloud.NET-_trunk\Assemblies /Y
copy NDBGen\bin\%1\NDBGen.xml D:\Source\Arpu\SnappCloud.NET-_trunk\Assemblies /Y
echo.

echo NDBGen.Core\bin\%1\
copy NDBGen.Core\bin\%1\NDBGen.Core.dll D:\Source\Arpu\SnappCloud.NET-_trunk\Assemblies /Y
copy NDBGen.Core\bin\%1\NDBGen.Core.pdb D:\Source\Arpu\SnappCloud.NET-_trunk\Assemblies /Y
echo.

echo NDBGen.Generator\bin\%1\
copy NDBGen.Generator\bin\%1\NDBGenerate.exe D:\Source\Arpu\SnappCloud.NET-_trunk\Assemblies /Y
copy NDBGen.Generator\bin\%1\NDBGenerate.pdb D:\Source\Arpu\SnappCloud.NET-_trunk\Assemblies /Y
echo.

echo NDBGen.Plugins.DataAccess.DotNet\bin\%1\
copy NDBGen.Plugins.DataAccess.DotNet\bin\%1\NDBGen.Plugins.DataAccess.DotNet.dll D:\Source\Arpu\SnappCloud.NET-_trunk\Assemblies /Y
copy NDBGen.Plugins.DataAccess.DotNet\bin\%1\NDBGen.Plugins.DataAccess.DotNet.pdb D:\Source\Arpu\SnappCloud.NET-_trunk\Assemblies /Y
echo.

echo NDBGen.Plugins.Database.SqlServer\bin\%1\
copy NDBGen.Plugins.Database.SqlServer\bin\%1\NDBGen.Plugins.Database.SqlServer.dll D:\Source\Arpu\SnappCloud.NET-_trunk\Assemblies /Y
copy NDBGen.Plugins.Database.SqlServer\bin\%1\NDBGen.Plugins.Database.SqlServer.pdb D:\Source\Arpu\SnappCloud.NET-_trunk\Assemblies /Y

goto eof

:noconfig
echo No configuration was specified

:eof